package ferus.tigris.easymarks;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

public class SpriteFactory {
	private GameView view;

	public SpriteFactory(GameView gameView) {
		view = gameView;
	}

	public AbstractBehavior createMiniCop() {
		Bitmap sprite = BitmapFactory.decodeResource(view.getResources(), R.drawable.minicop);
		AbstractView personage = new Sprite(sprite);
		AbstractBehavior behavior = new EasyMarkBehavior(view, personage);
		return behavior;
	}

	public AbstractBehavior createAngel() {
		Bitmap sprite = BitmapFactory.decodeResource(view.getResources(), R.drawable.angel);
		AbstractView personage = new Sprite(sprite);
		AbstractBehavior behavior = new EasyMarkBehavior(view, personage);
		return behavior;
	}

}
